package com.wanmait.studentmangers.service;

import com.wanmait.studentmangers.dao.AddressinfoDao;
import com.wanmait.studentmangers.vo.Addressinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AddressinfoServiceImpl implements AddressinfoService {
    @Autowired
    private AddressinfoDao addressinfoDao;
    @Override
    public void insert(Addressinfo addressinfo) {

    }

    @Override
    public boolean login(Addressinfo addressinfo) {
        return false;
    }

    @Override
    public List<Addressinfo> getAll() {
        return null;
    }

    @Override
    public void add(Addressinfo addressinfo) {
        addressinfoDao.add(addressinfo);

    }

    @Override
    public List<Addressinfo> getList() {
        return addressinfoDao.getList();
    }
}
